// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
//引入axios  同时将axios设置在Vue的原型上
import axios from 'axios'
//引入muse-ui UI框架
import MuseUI from 'muse-ui'
//引入 muse-ui css样式
import 'muse-ui/dist/muse-ui.css'
//引入移动提示插件 kiko
import kiko from 'kiko-rascalhao'

Vue.prototype.$axios = axios;
Vue.prototype.$kiko_message= kiko;
//配置全局使用
Vue.use(MuseUI)
Vue.use(kiko)
Vue.config.productionTip = false

window.addEventListener( "load", function() {
  FastClick.attach( document.body );
}, false );

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
